package com.info33.platform.business.app.service;

import com.info33.platform.common.mvc.vo.Result;
import com.info33.platform.system.dto.SysUserDTO;

/**
 * @author debj
 * @version 1.0
 * @date 2021/8/9 16:06
 */
public interface AppLoginService {
    /**
     * 账号密码登录
     *
     * @param dto -
     * @return -
     */
    Result<Object> passwordLogin(SysUserDTO dto);

    /**
     * 短信验证码登录
     *
     * @param dto -
     * @return -
     */
    Result<Object> messageLogin(SysUserDTO dto);

    /**
     * 发送验证码，登录时
     *
     * @param dto-
     * @return -
     */
    Result<Object> messagePushByLogin(SysUserDTO dto);

    /**
     * app - 注册
     *
     * @param dto-
     * @return -
     */
    Result<Object> appRegister(SysUserDTO dto);

    /**
     * app - 发送验证码，注册时
     *
     * @param dto 入参
     * @return object
     */
    Result<Object> messagePushByRegister(SysUserDTO dto);
}
